<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>添加</title>
<style type="text/css">
    h2{
    text-align:center;
    }
    form{
    width:30%;
    margin:0 auto;
    }
    table,#operate{
       width:80%;
       margin:0 auto;
    }
    table,tr,th,td{
       border:1px solid silver;
       border-collapse:collapse;
    }
</style>
</head>
<body>
     <h2>添加用户</h2>
     <!-- action提交路径，这里我们提交到一个servlet路径 -->
     <form action="userAdd" method="post">
     <table>
        <tr>
          <td>姓名：</td>
          <td><input type="text" name="uName"/></td>
        </tr>
        <tr>
          <td>角色：</td>
          <td><input type="text" name="uRole"/></td>
        </tr>
        <tr style="text-align:center;">
          <td colspan="2"><input type="submit" value="提交"/></td>
        </tr>
     </table>
     </form>
</body>
</html>